Documentation for class scroller

Inherits from 	scrolling_gadget 

Properties declared in scroller 
	content_slide 

Class Methods declared in scroller 
	new 

Methods declared in scroller 
	action 
		size_to_fit 
	any 
		content_slide 
		set_content_slide(slide) 
		size_to_fit 
	get 
		content_slide 
	set 
		set_content_slide(slide) 

Class 
#begin_class
scroller 
The class scroller is a subclass of the class scrolling_gadget. 
A scroller is a gadget with scroll-bars and a content-slide. Is is useful for slides that are bigger than the window they are located in. You can scroll to the desired part of the slide using the scroll-bars.
The content-slide of a scroller will always resize to contain all the graphics located on itself. So if a graphic on the content-slide would resize so that some part of its frame would lay outside the content-slide, then the content-slide will resize automatically.
#end_class

Properties 

#begin_property
content_slide 
Stores a reference to the slide that is the content-slide of the scroller.
#end_property

Methods 

#begin_method
content_slide 
Returns the content_slide property of the scroller.
#end_method

#begin_method
set_content_slide(slide) 
Sets the content_slide property to slide.
Returns self.
#end_method

#begin_method
size_to_fit 
Sizes the content-slide of the scroller so that it exactly fits the graphics that are located on it.
Returns self.
#end_method

Class Methods 

#begin_class_method
new 
Returns a new scroller object.
Ex:
{scroller}:new
#end_class_method